package com.boarsoft.flow.core.bean;

public class BeginTxNode extends BaseNode {
	/** 必需项 */
	protected TransactionHandler<Object> handler;
	/** 必需项，对应的commit节点 */
	protected String commitTx;
	/** 必需项 */
	protected String next;

	@Override
	public int getType() {
		return BaseNode.TYPE_BEGIN_TX;
	}

	public String getCommitTx() {
		return commitTx;
	}

	public void setCommitTx(String commitTx) {
		this.commitTx = commitTx;
	}

	public TransactionHandler<Object> getHandler() {
		return handler;
	}

	public void setHandler(TransactionHandler<Object> handler) {
		this.handler = handler;
	}

	public String getNext() {
		return next;
	}

	public void setNext(String next) {
		this.next = next;
	}
}
